<?php

class BudgetItems extends AppModel {
  public $name = 'BudgetItems';
  public $belongsTo = array('BudgetGroups'=>array(
      'className'=> 'BudgetGroups',
      'foreignKey'=>'budget_group_id',
      'type' =>'inner'
 ));

  public $validate = array(
      'Budget.name' => array(
          'name' => 'notEmpty',
          'message'=>'Item name is required'
      )
  );
   
  
}

?>
